Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the nginx receiver #5229

Merged
merged 20 commits into from
Aug 22, 2024
Merged

Add the nginx receiver #5229

merged 20 commits into from
Aug 22, 2024

Conversation

pjanotti
Copy link
Contributor

Adding the ngnix receiver from contrib.

@pjanotti pjanotti requested review from a team as code owners August 13, 2024 20:17
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Curtis Robert <[email protected]>
@crobert-1
Copy link
Contributor

Failing action output:

One or more Go files are not formatted correctly. Run 'make fmt' and push the changes.

and

Generated code is out of date. Run 'make generate-metrics' and push the changes.

pjanotti and others added 2 commits August 13, 2024 13:42
@pjanotti
Copy link
Contributor Author

make generate-metrics is not changing anything on the mac, I will look more carefully if doesn't pass CI.

@hughesjj
Copy link
Contributor

Looks good other than failing integ test


2024-08-13T23:18:25.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:26.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:26.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:26.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:26.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:26.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:26.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:27.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:27.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:27.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:27.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:27.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:27.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:28.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:28.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:28.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:28.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:28.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:28.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:29.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:29.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:29.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:29.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:29.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:29.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:30.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:30.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:30.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:30.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:30.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:30.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:31.188Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:31.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:31.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:31.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:31.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:31.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:32.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:32.186Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:32.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:32.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:32.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:32.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:33.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:33.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:33.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:33.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:33.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:33.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:34.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:34.186Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:34.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:34.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:34.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:34.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:35.188Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:35.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:35.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:35.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:35.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:35.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:36.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:36.186Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:36.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:36.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:36.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:36.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:37.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:37.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:37.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:37.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:37.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:37.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:38.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:38.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:38.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:38.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:38.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:38.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:39.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:39.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:39.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:39.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:39.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:39.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:40.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:40.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:40.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:40.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:40.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:40.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:41.188Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:41.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:41.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:41.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:41.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:41.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:42.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:42.186Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:42.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:42.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:42.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:42.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:43.188Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:43.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:43.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:43.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:43.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:43.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:44.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:44.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:44.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:44.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:44.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:44.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:45.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:45.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:45.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:45.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:45.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:45.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:46.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:46.186Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:46.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:46.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:46.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:46.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:47.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:47.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:47.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:47.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:47.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:47.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:48.187Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:48.186Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:48.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:48.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:48.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:48.187Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:49.188Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:49.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:49.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:49.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:49.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:49.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
2024-08-13T23:18:50.188Z	INFO	testutils/collector_container.go:267	2024-08-13T23:18:50.187Z	error	scraperhelper/scrapercontroller.go:197	Error scraping metrics	{"kind": "receiver", "name": "nginx", "data_type": "metrics", "error": "expected 200 response, got 401", "scraper": "nginx"}
2024-08-13T23:18:50.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport
2024-08-13T23:18:50.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:197
2024-08-13T23:18:50.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1
2024-08-13T23:18:50.188Z	INFO	testutils/collector_container.go:267	go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:173
    golden.go:72: 
        	Error Trace:	/home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/testutils/golden.go:74
        	            				/opt/hostedtoolcache/go/1.21.12/x64/src/runtime/asm_amd64.s:1650
        	Error:      	No metrics collected
    golden.go:72: 
        	Error Trace:	/home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/testutils/golden.go:72
        	            				/home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/receivers/nginx/nginx_test.go:28
        	Error:      	Condition never satisfied
        	Test:       	TestNginxIntegration

@pjanotti
Copy link
Contributor Author

interesting that using the same docker it didn't need credentials on my box, but, needs on CI 🤔 anyway, I will add the credentials later.

@pjanotti pjanotti merged commit 12484c0 into signalfx:main Aug 22, 2024
240 of 241 checks passed
@pjanotti pjanotti deleted the add-ngnix-receiver branch August 22, 2024 19:19
@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants